/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"F1B79D6E-BB5A-494C-9C76-19EA238A29E1"}
 */
function cancelar(event) {
	controller.deleteRecord()
	application.closeForm('turnos')
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"917C3118-F085-48E6-8CFD-AFEEAB29A27E"}
 */
function confirmar(event) {
	databaseManager.saveData()
	application.closeForm('turnos')
}
